package com.wzs.easytobuy.mapper;

import com.wzs.easytobuy.model.Color;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ColorMapper {
    int deleteByPrimaryKey(String id);

    int insert(Color record);

    int insertSelective(Color record);

    Color selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Color record);

    int updateByPrimaryKey(Color record);

    List<Color> selectByPid(String productId);

    String getColorById(String colorId);
}